#pragma once

#include "item.h"

class CDoor : public CItem
{
private:
	bool bOpen;

public:
	bool GetOpen() const { return bOpen; }

	void SetOpen(bool val) { bOpen = val; }
	
	virtual void Render() override;
	virtual void HandleCollision(const IEntity* pOther) override;
	virtual void Interacted(CPlayer* pPlayer) override;
};

